package entity

type ViewStockCount struct {
	WarehouseID   int64  `gorm:"column:warehouse_id;type:bigint" json:"warehouseId"`           // 仓库主键
	WarehouseName string `gorm:"column:warehouse_name;type:varchar(128)" json:"warehouseName"` // 名称
	SkuCode       string `gorm:"column:sku_code;type:varchar(32)" json:"skuCode"`
	SkuCount      int64  `gorm:"column:sku_count;type:bigint;not null;default:0" json:"skuCount"`
}

func (m *ViewStockCount) TableName() string {
	return "view_stock_count"
}
